cmake_minimum_required(VERSION "3.10")
project("test")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED On)

file(GLOB_RECURSE "SOURCE_FILE" "../code/*.cpp")
find_package(Threads REQUIRED)

add_executable("EchoServer" "./EchoServer.cpp" ${SOURCE_FILE})
# target_link_libraries("EchoServer" "pthread")
target_link_libraries("EchoServer" PRIVATE Threads::Threads)